package com.guigu.dispatch.service;

import com.guigu.dispatch.entity.CacheLine;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.dispatch.entity.CacheLineUse;
import com.guigu.dispatch.entity.OrderClassifyAttach;

/**
 * <p>
 * 缓冲路线表 服务类
 * </p>
 *
 * @author TaoLong
 * @since 2021-11-18
 */
public interface CacheLineService extends IService<CacheLine> {

    /**
     * 根据订单Id获取缓存线路表
     *
     * @param orderId 订单Id
     * @return
     */
    CacheLineUse findCacheLineById(String orderId);

    /**
     * 根据订单Id获取车次车辆司机Id
     * @param orderId
     * @return
     */
    OrderClassifyAttach findOrderClassifyAttachByOrderId(String orderId);
}
